StackEx

Ecng.Collections

Extends the Stack class to explicitly implement the ICollection interface.

Наследует: Stack<T>

Реализует: ICollection<T>, IEnumerable<T>, IEnumerable

Свойства

System#Collections#Generic#ICollection{T}#IsReadOnly

Gets a value indicating whether the stack is read-only.

Методы

System#Collections#Generic#ICollection{T}#Add(T)

Adds an item to the top of the stack.

item
The item to add.
System#Collections#Generic#ICollection{T}#Remove(T)

Attempts to remove a specific item from the stack. This operation is not supported.

item
The item to remove.

Возвращает: Always throws NotSupportedException.